package com.bootdo.blog.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.blog.dao.PackagingMapper;
import com.bootdo.blog.domain.PackagingDO;
import com.bootdo.blog.service.PackagingService;



@Service
public class PackagingServiceImpl implements PackagingService {
	@Autowired
	private PackagingMapper packagingMapper;
	
	@Override
	public PackagingDO get(Integer packageId){
		return packagingMapper.get(packageId);
	}
	
	@Override
	public List<PackagingDO> list(Map<String, Object> map){
		return packagingMapper.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return packagingMapper.count(map);
	}
	
	@Override
	public int save(PackagingDO packaging){
		return packagingMapper.save(packaging);
	}
	
	@Override
	public int update(PackagingDO packaging){
		return packagingMapper.update(packaging);
	}
	
	@Override
	public int remove(Integer packageId){
		return packagingMapper.remove(packageId);
	}
	
	@Override
	public int batchRemove(Integer[] packageIds){
		return packagingMapper.batchRemove(packageIds);
	}
	
}
